package day05;

import java.io.IOException;

public class PropertiesTest {

    public static void main(String[] args) throws IOException {

//        ClassLoader classLoader = PropertiesTest.class.getClassLoader();
//
//        InputStream inputStream = classLoader.getResourceAsStream("jdbc.properties");
//
//        Properties properties = new Properties();
//
//        properties.load(inputStream);
//
//        String name = properties.getProperty("name");
//        String pwd = properties.getProperty("pwd");
//        System.out.println(name + pwd);

        String str = "123asd";

        int i = Integer.parseInt(str);
        System.out.println(i);
    }

}
